package com.xing.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName(value = "live_identity_authentication")
@NoArgsConstructor
@AllArgsConstructor
public class LiveIdentityAuthenticationEntity {

    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 真实姓名
     */
    private String realName;

    /**
     * 性别
     * 1：男
     * 0：女
     */
    private Integer sex;

    /**
     * 身份证号
     */
    private String idCard;

    /**
     * 户籍地址
     */
    private String address;

    /**
     * 身份证正面照
     */
    private Long frontalView;

    /**
     * 身份证反面照
     */
    private Long reverseView;

    /**
     * 逻辑删除
     * 0：正常
     * 1：已删除
     */
    private Integer delFlag;

}
